sort someone out

[sɔ:t ˈsʌmwʌn aut]
(非正式)惩处,教训